﻿using Propro.Enum;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace Propro.Models
{
    public class Log
    {
        [Key]
        public int LogId { get; set; }

        [Required]
        public LogSoort soort { get; set; }

        [Required]
        public String info { get; set; }

        public virtual UserProfile User { get; set; }

        public DateTime Date { get; set; }

        public Log()
        {
            this.Date = DateTime.UtcNow;
        }
    }
}